{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "f4226feb-6b08-4a2c-bedf-004a4021ccae",
   "metadata": {},
   "source": [
    "# 函数与文件"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6835d4a0-6c1d-4fc2-9b99-ad461cfa82be",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "9e591079-9e4f-49c5-8d3b-906d2034d377",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<svg width=\"300\" height=\"150\" style=\"fill:none; stroke-linecap:round;\">\n",
       "    <rect width=\"100%\" height=\"100%\" fill=\"#F3F3F7\" />\n",
       "\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 150,75\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 100,100 150,100 109.5,70.6 125,118.2 140.5,70.6 100,100\" />'\n",
       "\n",
       "<g transform=\"rotate(-90.0,100.0,100.0) translate(100.0, 100.0)\">\n",
       "    <circle stroke=\"#63A375\" stroke-width=\"2\" fill=\"transparent\" r=\"5.5\" cx=\"0\" cy=\"0\"/>\n",
       "    <polygon points=\"0,12 2,9 -2,9\" style=\"fill:#63A375;stroke:#63A375;stroke-width:2\"/>\n",
       "</g>\n",
       "\n",
       "</svg>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "t.make_turtle(animate=True, delay=0.02, width=300, height=150)\n",
    "def wujiaoxin1(x,y,long):\n",
    "    import jupyturtle as t\n",
    "    t.jump_to(x,y)\n",
    "    for i in range(5):\n",
    "        t.fd(long)\n",
    "        t.left(144)\n",
    "        "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "c48c45cb-1493-44dc-b7ed-75b33a1dbc29",
   "metadata": {},
   "outputs": [],
   "source": [
    "wujiaoxin1(100,100,50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "80ee8a88-b131-421a-8509-5922f6d980ee",
   "metadata": {},
   "outputs": [],
   "source": [
    "def wujiaoxin2(x,y,r):\n",
    "    import jupyturtle as t\n",
    "    import math as a\n",
    "    t.make_turtle(animate=True, delay=0.02, width=400, height=400)\n",
    "    t.jump_to(x-r*a.cos(18/180*a.pi),y-r*a.sin(18/180*a.pi))\n",
    "    long=2*r*a.cos(18/180*a.pi)\n",
    "    for i in range(5):\n",
    "        t.fd(long)\n",
    "        t.rt(144)\n",
    "    #t.lt(72)\n",
    "    t.jump_to(x+r*a.cos(18/180*3.14159265),y+r*a.sin(18/180*3.14159265))\n",
    "    t.jump_to(x,y)\n",
    "        #print(x,y)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "id": "fa25d8db-2d64-49e4-93aa-2a2e78a1b7b0",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<svg width=\"400\" height=\"400\" style=\"fill:none; stroke-linecap:round;\">\n",
       "    <rect width=\"100%\" height=\"100%\" fill=\"#F3F3F7\" />\n",
       "\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,200\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 9.8,138.2 390.2,138.2 82.4,361.8 200,0 317.6,361.8 9.8,138.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 390.2,261.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,200\" />'\n",
       "\n",
       "<g transform=\"rotate(-90.0,200,200) translate(200, 200)\">\n",
       "    <circle stroke=\"#63A375\" stroke-width=\"2\" fill=\"transparent\" r=\"5.5\" cx=\"0\" cy=\"0\"/>\n",
       "    <polygon points=\"0,12 2,9 -2,9\" style=\"fill:#63A375;stroke:#63A375;stroke-width:2\"/>\n",
       "</g>\n",
       "\n",
       "</svg>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "wujiaoxin2(200,200,200)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "dc787cab-7316-4192-80e8-6da48af1a02e",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 参考答案\n",
    "def pentagram1(x,y,r):\n",
    "    import jupyturtle as t\n",
    "    import math\n",
    "    t.jump_to(x-r*math.cos(18/180*math.pi),y-r*math.sin(18/180*math.pi))\n",
    "    for i in range(5):\n",
    "        t.fd(2*r*math.cos(18/180*math.pi))\n",
    "        t.rt(144)\n",
    "    t.lt(72)\n",
    "    t.jump_to(x+r*math.cos(18/180*math.pi),y+r*math.sin(18/180*math.pi))\n",
    "    t.jump_to(x,y)\n",
    "    \n",
    "    \n",
    "pentagram1(20,20,100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "c7cced51-af52-4123-8380-f2024fb519a8",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5ff5f853-b215-4b58-b9f9-9e90673ed885",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "47a47629-37ec-472b-992b-c4fca5a753b1",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<svg width=\"400\" height=\"400\" style=\"fill:none; stroke-linecap:round;\">\n",
       "    <rect width=\"100%\" height=\"100%\" fill=\"#F3F3F7\" />\n",
       "\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,200\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 104.9,169.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 104.9,169.1 293.2,169.1 140.9,279.8 199,100.7 257.2,279.8 104.9,169.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 105.8,169.4 292.3,169.4 141.4,279 199,101.7 256.7,279 105.8,169.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 106.8,169.7 291.3,169.7 142,278.2 199,102.7 256.1,278.2 106.8,169.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 107.7,170 290.4,170 142.6,277.4 199,103.7 255.5,277.4 107.7,170\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 108.7,170.3 289.4,170.3 143.2,276.5 199,104.7 254.9,276.5 108.7,170.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 109.6,170.6 288.4,170.6 143.8,275.7 199,105.7 254.3,275.7 109.6,170.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 110.6,171 287.5,171 144.4,274.9 199,106.7 253.7,274.9 110.6,171\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 111.6,171.3 286.5,171.3 145,274.1 199,107.7 253.1,274.1 111.6,171.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 112.5,171.6 285.6,171.6 145.6,273.3 199,108.7 252.5,273.3 112.5,171.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 113.5,171.9 284.6,171.9 146.1,272.5 199,109.7 251.9,272.5 113.5,171.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 114.4,172.2 283.7,172.2 146.7,271.7 199,110.7 251.4,271.7 114.4,172.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 115.4,172.5 282.7,172.5 147.3,270.9 199,111.7 250.8,270.9 115.4,172.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 116.3,172.8 281.8,172.8 147.9,270.1 199,112.7 250.2,270.1 116.3,172.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 117.3,173.1 280.8,173.1 148.5,269.3 199,113.7 249.6,269.3 117.3,173.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 118.2,173.4 279.9,173.4 149.1,268.5 199,114.7 249,268.5 118.2,173.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 119.2,173.7 278.9,173.7 149.7,267.6 199,115.7 248.4,267.6 119.2,173.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 120.1,174 278,174 150.3,266.8 199,116.7 247.8,266.8 120.1,174\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 121.1,174.4 277,174.4 150.9,266 199,117.7 247.2,266 121.1,174.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 122,174.7 276.1,174.7 151.4,265.2 199,118.7 246.7,265.2 122,174.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 123,175 275.1,175 152,264.4 199,119.7 246.1,264.4 123,175\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 123.9,175.3 274.2,175.3 152.6,263.6 199,120.7 245.5,263.6 123.9,175.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 124.9,175.6 273.2,175.6 153.2,262.8 199,121.7 244.9,262.8 124.9,175.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 125.8,175.9 272.3,175.9 153.8,262 199,122.7 244.3,262 125.8,175.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 126.8,176.2 271.3,176.2 154.4,261.2 199,123.7 243.7,261.2 126.8,176.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 127.7,176.5 270.4,176.5 155,260.4 199,124.7 243.1,260.4 127.7,176.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 128.7,176.8 269.4,176.8 155.6,259.6 199,125.7 242.5,259.6 128.7,176.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 129.6,177.1 268.5,177.1 156.1,258.7 199,126.7 242,258.7 129.6,177.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 130.6,177.4 267.5,177.4 156.7,257.9 199,127.7 241.4,257.9 130.6,177.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 131.5,177.8 266.6,177.8 157.3,257.1 199,128.7 240.8,257.1 131.5,177.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 132.5,178.1 265.6,178.1 157.9,256.3 199,129.7 240.2,256.3 132.5,178.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 133.4,178.4 264.7,178.4 158.5,255.5 199,130.7 239.6,255.5 133.4,178.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 134.4,178.7 263.7,178.7 159.1,254.7 199,131.7 239,254.7 134.4,178.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 135.3,179 262.8,179 159.7,253.9 199,132.7 238.4,253.9 135.3,179\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 136.3,179.3 261.8,179.3 160.3,253.1 199,133.7 237.8,253.1 136.3,179.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 137.2,179.6 260.9,179.6 160.8,252.3 199,134.7 237.3,252.3 137.2,179.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 138.2,179.9 259.9,179.9 161.4,251.5 199,135.7 236.7,251.5 138.2,179.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 139.1,180.2 259,180.2 162,250.7 199,136.7 236.1,250.7 139.1,180.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 140.1,180.5 258,180.5 162.6,249.9 199,137.7 235.5,249.9 140.1,180.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 141,180.8 257.1,180.8 163.2,249 199,138.7 234.9,249 141,180.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 142,181.1 256.1,181.1 163.8,248.2 199,139.7 234.3,248.2 142,181.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 142.9,181.5 255.2,181.5 164.4,247.4 199,140.7 233.7,247.4 142.9,181.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 143.9,181.8 254.2,181.8 165,246.6 199,141.7 233.1,246.6 143.9,181.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 144.8,182.1 253.3,182.1 165.5,245.8 199,142.7 232.6,245.8 144.8,182.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 145.8,182.4 252.3,182.4 166.1,245 199,143.7 232,245 145.8,182.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 146.7,182.7 251.4,182.7 166.7,244.2 199,144.7 231.4,244.2 146.7,182.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 147.7,183 250.4,183 167.3,243.4 199,145.7 230.8,243.4 147.7,183\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 148.6,183.3 249.5,183.3 167.9,242.6 199,146.7 230.2,242.6 148.6,183.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 149.6,183.6 248.5,183.6 168.5,241.8 199,147.7 229.6,241.8 149.6,183.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 150.5,183.9 247.6,183.9 169.1,241 199,148.7 229,241 150.5,183.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 151.5,184.2 246.6,184.2 169.7,240.1 199,149.7 228.4,240.1 151.5,184.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 152.4,184.5 245.7,184.5 170.2,239.3 199,150.7 227.9,239.3 152.4,184.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 153.4,184.9 244.7,184.9 170.8,238.5 199,151.7 227.3,238.5 153.4,184.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 154.3,185.2 243.7,185.2 171.4,237.7 199,152.7 226.7,237.7 154.3,185.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 155.3,185.5 242.8,185.5 172,236.9 199,153.7 226.1,236.9 155.3,185.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 156.3,185.8 241.8,185.8 172.6,236.1 199,154.7 225.5,236.1 156.3,185.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 157.2,186.1 240.9,186.1 173.2,235.3 199,155.7 224.9,235.3 157.2,186.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 158.2,186.4 239.9,186.4 173.8,234.5 199,156.7 224.3,234.5 158.2,186.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 159.1,186.7 239,186.7 174.4,233.7 199,157.7 223.7,233.7 159.1,186.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 160.1,187 238,187 174.9,232.9 199,158.7 223.1,232.9 160.1,187\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 161,187.3 237.1,187.3 175.5,232.1 199,159.7 222.6,232.1 161,187.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 162,187.6 236.1,187.6 176.1,231.2 199,160.7 222,231.2 162,187.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 162.9,187.9 235.2,187.9 176.7,230.4 199,161.7 221.4,230.4 162.9,187.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 163.9,188.3 234.2,188.3 177.3,229.6 199,162.7 220.8,229.6 163.9,188.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 164.8,188.6 233.3,188.6 177.9,228.8 199,163.7 220.2,228.8 164.8,188.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 165.8,188.9 232.3,188.9 178.5,228 199,164.7 219.6,228 165.8,188.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 166.7,189.2 231.4,189.2 179.1,227.2 199,165.7 219,227.2 166.7,189.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 167.7,189.5 230.4,189.5 179.7,226.4 199,166.7 218.4,226.4 167.7,189.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 168.6,189.8 229.5,189.8 180.2,225.6 199,167.7 217.9,225.6 168.6,189.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 169.6,190.1 228.5,190.1 180.8,224.8 199,168.7 217.3,224.8 169.6,190.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 170.5,190.4 227.6,190.4 181.4,224 199,169.7 216.7,224 170.5,190.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 171.5,190.7 226.6,190.7 182,223.2 199,170.7 216.1,223.2 171.5,190.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 172.4,191 225.7,191 182.6,222.3 199,171.7 215.5,222.3 172.4,191\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 173.4,191.3 224.7,191.3 183.2,221.5 199,172.7 214.9,221.5 173.4,191.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 174.3,191.7 223.8,191.7 183.8,220.7 199,173.7 214.3,220.7 174.3,191.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 175.3,192 222.8,192 184.4,219.9 199,174.7 213.7,219.9 175.3,192\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 176.2,192.3 221.9,192.3 184.9,219.1 199,175.7 213.2,219.1 176.2,192.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 177.2,192.6 220.9,192.6 185.5,218.3 199,176.7 212.6,218.3 177.2,192.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 178.1,192.9 220,192.9 186.1,217.5 199,177.7 212,217.5 178.1,192.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 179.1,193.2 219,193.2 186.7,216.7 199,178.7 211.4,216.7 179.1,193.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 180,193.5 218.1,193.5 187.3,215.9 199,179.7 210.8,215.9 180,193.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 181,193.8 217.1,193.8 187.9,215.1 199,180.7 210.2,215.1 181,193.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 181.9,194.1 216.2,194.1 188.5,214.3 199,181.7 209.6,214.3 181.9,194.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 182.9,194.4 215.2,194.4 189.1,213.4 199,182.7 209,213.4 182.9,194.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 183.8,194.7 214.3,194.7 189.6,212.6 199,183.7 208.5,212.6 183.8,194.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 184.8,195.1 213.3,195.1 190.2,211.8 199,184.7 207.9,211.8 184.8,195.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 185.7,195.4 212.4,195.4 190.8,211 199,185.7 207.3,211 185.7,195.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 186.7,195.7 211.4,195.7 191.4,210.2 199,186.7 206.7,210.2 186.7,195.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 187.6,196 210.5,196 192,209.4 199,187.7 206.1,209.4 187.6,196\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 188.6,196.3 209.5,196.3 192.6,208.6 199,188.7 205.5,208.6 188.6,196.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 189.5,196.6 208.6,196.6 193.2,207.8 199,189.7 204.9,207.8 189.5,196.6\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 190.5,196.9 207.6,196.9 193.8,207 199,190.7 204.3,207 190.5,196.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 191.4,197.2 206.7,197.2 194.3,206.2 199,191.7 203.8,206.2 191.4,197.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 192.4,197.5 205.7,197.5 194.9,205.4 199,192.7 203.2,205.4 192.4,197.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 193.3,197.8 204.8,197.8 195.5,204.5 199,193.7 202.6,204.5 193.3,197.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 194.3,198.1 203.8,198.1 196.1,203.7 199,194.7 202,203.7 194.3,198.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,200\" />'\n",
       "\n",
       "<g transform=\"rotate(-90.0,200,200) translate(200, 200)\">\n",
       "    <circle stroke=\"#63A375\" stroke-width=\"2\" fill=\"transparent\" r=\"5.5\" cx=\"0\" cy=\"0\"/>\n",
       "    <polygon points=\"0,12 2,9 -2,9\" style=\"fill:#63A375;stroke:#63A375;stroke-width:2\"/>\n",
       "</g>\n",
       "\n",
       "</svg>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "\n",
    "\n",
    "def wujiaoxin3(x,y,r):\n",
    "    import jupyturtle as t\n",
    "    import math as m\n",
    "    t.make_turtle(animate=True, delay=0.02, width=400, height=400)\n",
    "    t.jump_to(x-r*m.cos(18/180*3.14159265),y-r*m.sin(18/180*3.14159265))\n",
    "    long=int(r*2*m.cos(18/180*3.14159265)/2)\n",
    "    for j in range(long):\n",
    "        t.jump_to(x-r*m.cos(18/180*3.14159265),y-r*m.sin(18/180*3.14159265))\n",
    "        r-=1\n",
    "        for i in range(5):\n",
    "            t.fd(r*2*m.cos(18/180*3.14159265))\n",
    "            t.rt(144)\n",
    "    t.jump_to(x,y)\n",
    "\n",
    "wujiaoxin3(200,200,100) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "e25a698a-d71c-4e7e-8c19-8029551b166b",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<svg width=\"600\" height=\"400\" style=\"fill:none; stroke-linecap:round;\">\n",
       "    <rect width=\"100%\" height=\"100%\" fill=\"#F3F3F7\" />\n",
       "\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"blue\" stroke-width=\"2\" d=\"M 90,60 510,60 510,61 90,61 90,62 510,62 510,63 90,63 90,64 510,64 510,65 90,65 90,66 510,66 510,67 90,67 90,68 510,68 510,69 90,69 90,70 510,70 510,71 90,71 90,72 510,72 510,73 90,73 90,74 510,74 510,75 90,75 90,76 510,76 510,77 90,77 90,78 510,78 510,79 90,79 90,80 510,80 510,81 90,81 90,82 510,82 510,83 90,83 90,84 510,84 510,85 90,85 90,86 510,86 510,87 90,87 90,88 510,88 510,89 90,89 90,90 510,90 510,91 90,91 90,92 510,92 510,93 90,93 90,94 510,94 510,95 90,95 90,96 510,96 510,97 90,97 90,98 510,98 510,99 90,99 90,100 510,100 510,101 90,101 90,102 510,102 510,103 90,103 90,104 510,104 510,105 90,105 90,106 510,106 510,107 90,107 90,108 510,108 510,109 90,109 90,110 510,110 510,111 90,111 90,112 510,112 510,113 90,113 90,114 510,114 510,115 90,115 90,116 510,116 510,117 90,117 90,118 510,118 510,119 90,119 90,120 510,120 510,121 90,121 90,122 510,122 510,123 90,123 90,124 510,124 510,125 90,125 90,126 510,126 510,127 90,127 90,128 510,128 510,129 90,129 90,130 510,130 510,131 90,131 90,132 510,132 510,133 90,133 90,134 510,134 510,135 90,135 90,136 510,136 510,137 90,137 90,138 510,138 510,139 90,139 90,140 510,140 510,141 90,141 90,142 510,142 510,143 90,143 90,144 510,144 510,145 90,145 90,146 510,146 510,147 90,147 90,148 510,148 510,149 90,149 90,150 510,150 510,151 90,151 90,152 510,152 510,153 90,153 90,154 510,154 510,155 90,155 90,156 510,156 510,157 90,157 90,158 510,158 510,159 90,159 90,160 510,160 510,161 90,161 90,162 510,162 510,163 90,163 90,164 510,164 510,165 90,165 90,166 510,166 510,167 90,167 90,168 510,168 510,169 90,169 90,170 510,170 510,171 90,171 90,172 510,172 510,173 90,173 90,174 510,174 510,175 90,175 90,176 510,176 510,177 90,177 90,178 510,178 510,179 90,179 90,180 510,180 510,181 90,181 90,182 510,182 510,183 90,183 90,184 510,184 510,185 90,185 90,186 510,186 510,187 90,187 90,188 510,188 510,189 90,189 90,190 510,190 510,191 90,191 90,192 510,192 510,193 90,193 90,194 510,194 510,195 90,195 90,196 510,196 510,197 90,197 90,198 510,198 510,199 90,199 90,200 510,200 510,201 90,201 90,202 510,202 510,203 90,203 90,204 510,204 510,205 90,205 90,206 510,206 510,207 90,207 90,208 510,208 510,209 90,209 90,210 510,210 510,211 90,211 90,212 510,212 510,213 90,213 90,214 510,214 510,215 90,215 90,216 510,216 510,217 90,217 90,218 510,218 510,219 90,219 90,220 510,220 510,221 90,221 90,222 510,222 510,223 90,223 90,224 510,224 510,225 90,225 90,226 510,226 510,227 90,227 90,228 510,228 510,229 90,229 90,230 510,230 510,231 90,231 90,232 510,232 510,233 90,233 90,234 510,234 510,235 90,235 90,236 510,236 510,237 90,237 90,238 510,238 510,239 90,239 90,240 510,240 510,241 90,241 90,242 510,242 510,243 90,243 90,244 510,244 510,245 90,245 90,246 510,246 510,247 90,247 90,248 510,248 510,249 90,249 90,250 510,250 510,251 90,251 90,252 510,252 510,253 90,253 90,254 510,254 510,255 90,255 90,256 510,256 510,257 90,257 90,258 510,258 510,259 90,259 90,260 510,260 510,261 90,261 90,262 510,262 510,263 90,263 90,264 510,264 510,265 90,265 90,266 510,266 510,267 90,267 90,268 510,268 510,269 90,269 90,270 510,270 510,271 90,271 90,272 510,272 510,273 90,273 90,274 510,274 510,275 90,275 90,276 510,276 510,277 90,277 90,278 510,278 510,279 90,279 90,280 510,280 510,281 90,281 90,282 510,282 510,283 90,283 90,284 510,284 510,285 90,285 90,286 510,286 510,287 90,287 90,288 510,288 510,289 90,289 90,290 510,290 510,291 90,291 90,292 510,292 510,293 90,293 90,294 510,294 510,295 90,295 90,296 510,296 510,297 90,297 90,298 510,298 510,299 90,299 90,300 510,300 510,301 90,301 90,302 510,302 510,303 90,303 90,304 510,304 510,305 90,305 90,306 510,306 510,307 90,307 90,308 510,308 510,309 90,309 90,310 510,310 510,311 90,311 90,312 510,312 510,313 90,313 90,314 510,314 510,315 90,315 90,316 510,316 510,317 90,317 90,318 510,318 510,319 90,319 90,320 510,320 510,321 90,321 90,322 510,322 510,323 90,323 90,324 510,324 510,325 90,325 90,326 510,326 510,327 90,327 90,328 510,328 510,329 90,329 90,330 510,330 510,331 90,331 90,332 510,332 510,333 90,333 90,334 510,334 510,335 90,335 90,336 510,336 510,337 90,337 90,338 510,338 510,339 90,339 90,340\" />'\n",
       "\n",
       "<path stroke=\"blue\" stroke-width=\"2\" d=\"M 300,300\" />'\n",
       "\n",
       "<path stroke=\"blue\" stroke-width=\"2\" d=\"M 386.6,250\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 386.6,250 386.6,250 386.6,250 386.6,250 386.6,250 386.6,250\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 385.7,249.7 387.6,249.7 386,250.8 386.6,249 387.2,250.8 385.7,249.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 384.7,249.4 388.5,249.4 385.4,251.6 386.6,248 387.8,251.6 384.7,249.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 383.7,249.1 389.5,249.1 384.8,252.4 386.6,247 388.4,252.4 383.7,249.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 382.8,248.8 390.4,248.8 384.3,253.2 386.6,246 389,253.2 382.8,248.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 381.8,248.5 391.4,248.5 383.7,254 386.6,245 389.5,254 381.8,248.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 380.9,248.1 392.3,248.1 383.1,254.9 386.6,244 390.1,254.9 380.9,248.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 379.9,247.8 393.3,247.8 382.5,255.7 386.6,243 390.7,255.7 379.9,247.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 379,247.5 394.2,247.5 381.9,256.5 386.6,242 391.3,256.5 379,247.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 350,286.6\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 350,286.6 350,286.6 350,286.6 350,286.6 350,286.6 350,286.6\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 349,286.3 351,286.3 349.4,287.4 350,285.6 350.6,287.4 349,286.3\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 348.1,286 351.9,286 348.8,288.2 350,284.6 351.2,288.2 348.1,286\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 347.1,285.7 352.9,285.7 348.2,289 350,283.6 351.8,289 347.1,285.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 346.2,285.4 353.8,285.4 347.6,289.8 350,282.6 352.4,289.8 346.2,285.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 345.2,285.1 354.8,285.1 347.1,290.6 350,281.6 352.9,290.6 345.2,285.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 344.3,284.7 355.7,284.7 346.5,291.5 350,280.6 353.5,291.5 344.3,284.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 343.3,284.4 356.7,284.4 345.9,292.3 350,279.6 354.1,292.3 343.3,284.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 342.4,284.1 357.6,284.1 345.3,293.1 350,278.6 354.7,293.1 342.4,284.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,300\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,300 300,300 300,300 300,300 300,300 300,300\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 299,299.7 301,299.7 299.4,300.8 300,299 300.6,300.8 299,299.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 298.1,299.4 301.9,299.4 298.8,301.6 300,298 301.2,301.6 298.1,299.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 297.1,299.1 302.9,299.1 298.2,302.4 300,297 301.8,302.4 297.1,299.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 296.2,298.8 303.8,298.8 297.6,303.2 300,296 302.4,303.2 296.2,298.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 295.2,298.5 304.8,298.5 297.1,304 300,295 302.9,304 295.2,298.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 294.3,298.1 305.7,298.1 296.5,304.9 300,294 303.5,304.9 294.3,298.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 293.3,297.8 306.7,297.8 295.9,305.7 300,293 304.1,305.7 293.3,297.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 292.4,297.5 307.6,297.5 295.3,306.5 300,292 304.7,306.5 292.4,297.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 250,286.6\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 250,286.6 250,286.6 250,286.6 250,286.6 250,286.6 250,286.6\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 249,286.3 251,286.3 249.4,287.4 250,285.6 250.6,287.4 249,286.3\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 248.1,286 251.9,286 248.8,288.2 250,284.6 251.2,288.2 248.1,286\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 247.1,285.7 252.9,285.7 248.2,289 250,283.6 251.8,289 247.1,285.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 246.2,285.4 253.8,285.4 247.6,289.8 250,282.6 252.4,289.8 246.2,285.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 245.2,285.1 254.8,285.1 247.1,290.6 250,281.6 252.9,290.6 245.2,285.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 244.3,284.7 255.7,284.7 246.5,291.5 250,280.6 253.5,291.5 244.3,284.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 243.3,284.4 256.7,284.4 245.9,292.3 250,279.6 254.1,292.3 243.3,284.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 242.4,284.1 257.6,284.1 245.3,293.1 250,278.6 254.7,293.1 242.4,284.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 213.4,250\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 213.4,250 213.4,250 213.4,250 213.4,250 213.4,250 213.4,250\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 212.4,249.7 214.3,249.7 212.8,250.8 213.4,249 214,250.8 212.4,249.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 211.5,249.4 215.3,249.4 212.2,251.6 213.4,248 214.6,251.6 211.5,249.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 210.5,249.1 216.3,249.1 211.6,252.4 213.4,247 215.2,252.4 210.5,249.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 209.6,248.8 217.2,248.8 211,253.2 213.4,246 215.7,253.2 209.6,248.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 208.6,248.5 218.2,248.5 210.5,254 213.4,245 216.3,254 208.6,248.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 207.7,248.1 219.1,248.1 209.9,254.9 213.4,244 216.9,254.9 207.7,248.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 206.7,247.8 220.1,247.8 209.3,255.7 213.4,243 217.5,255.7 206.7,247.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 205.8,247.5 221,247.5 208.7,256.5 213.4,242 218.1,256.5 205.8,247.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 200,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 200,200 200,200 200,200 200,200 200,200 200,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 199,199.7 201,199.7 199.4,200.8 200,199 200.6,200.8 199,199.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 198.1,199.4 201.9,199.4 198.8,201.6 200,198 201.2,201.6 198.1,199.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 197.1,199.1 202.9,199.1 198.2,202.4 200,197 201.8,202.4 197.1,199.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 196.2,198.8 203.8,198.8 197.6,203.2 200,196 202.4,203.2 196.2,198.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 195.2,198.5 204.8,198.5 197.1,204 200,195 202.9,204 195.2,198.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 194.3,198.1 205.7,198.1 196.5,204.9 200,194 203.5,204.9 194.3,198.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 193.3,197.8 206.7,197.8 195.9,205.7 200,193 204.1,205.7 193.3,197.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 192.4,197.5 207.6,197.5 195.3,206.5 200,192 204.7,206.5 192.4,197.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 213.4,150\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 213.4,150 213.4,150 213.4,150 213.4,150 213.4,150 213.4,150\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 212.4,149.7 214.3,149.7 212.8,150.8 213.4,149 214,150.8 212.4,149.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 211.5,149.4 215.3,149.4 212.2,151.6 213.4,148 214.6,151.6 211.5,149.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 210.5,149.1 216.3,149.1 211.6,152.4 213.4,147 215.2,152.4 210.5,149.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 209.6,148.8 217.2,148.8 211,153.2 213.4,146 215.7,153.2 209.6,148.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 208.6,148.5 218.2,148.5 210.5,154 213.4,145 216.3,154 208.6,148.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 207.7,148.1 219.1,148.1 209.9,154.9 213.4,144 216.9,154.9 207.7,148.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 206.7,147.8 220.1,147.8 209.3,155.7 213.4,143 217.5,155.7 206.7,147.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 205.8,147.5 221,147.5 208.7,156.5 213.4,142 218.1,156.5 205.8,147.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 250,113.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 250,113.4 250,113.4 250,113.4 250,113.4 250,113.4 250,113.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 249,113.1 251,113.1 249.4,114.2 250,112.4 250.6,114.2 249,113.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 248.1,112.8 251.9,112.8 248.8,115 250,111.4 251.2,115 248.1,112.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 247.1,112.5 252.9,112.5 248.2,115.8 250,110.4 251.8,115.8 247.1,112.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 246.2,112.2 253.8,112.2 247.6,116.6 250,109.4 252.4,116.6 246.2,112.2\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 245.2,111.9 254.8,111.9 247.1,117.4 250,108.4 252.9,117.4 245.2,111.9\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 244.3,111.5 255.7,111.5 246.5,118.3 250,107.4 253.5,118.3 244.3,111.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 243.3,111.2 256.7,111.2 245.9,119.1 250,106.4 254.1,119.1 243.3,111.2\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 242.4,110.9 257.6,110.9 245.3,119.9 250,105.4 254.7,119.9 242.4,110.9\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,100\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,100 300,100 300,100 300,100 300,100 300,100\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 299,99.7 301,99.7 299.4,100.8 300,99 300.6,100.8 299,99.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 298.1,99.4 301.9,99.4 298.8,101.6 300,98 301.2,101.6 298.1,99.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 297.1,99.1 302.9,99.1 298.2,102.4 300,97 301.8,102.4 297.1,99.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 296.2,98.8 303.8,98.8 297.6,103.2 300,96 302.4,103.2 296.2,98.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 295.2,98.5 304.8,98.5 297.1,104 300,95 302.9,104 295.2,98.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 294.3,98.1 305.7,98.1 296.5,104.9 300,94 303.5,104.9 294.3,98.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 293.3,97.8 306.7,97.8 295.9,105.7 300,93 304.1,105.7 293.3,97.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 292.4,97.5 307.6,97.5 295.3,106.5 300,92 304.7,106.5 292.4,97.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 350,113.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 350,113.4 350,113.4 350,113.4 350,113.4 350,113.4 350,113.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 349,113.1 351,113.1 349.4,114.2 350,112.4 350.6,114.2 349,113.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 348.1,112.8 351.9,112.8 348.8,115 350,111.4 351.2,115 348.1,112.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 347.1,112.5 352.9,112.5 348.2,115.8 350,110.4 351.8,115.8 347.1,112.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 346.2,112.2 353.8,112.2 347.6,116.6 350,109.4 352.4,116.6 346.2,112.2\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 345.2,111.9 354.8,111.9 347.1,117.4 350,108.4 352.9,117.4 345.2,111.9\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 344.3,111.5 355.7,111.5 346.5,118.3 350,107.4 353.5,118.3 344.3,111.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 343.3,111.2 356.7,111.2 345.9,119.1 350,106.4 354.1,119.1 343.3,111.2\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 342.4,110.9 357.6,110.9 345.3,119.9 350,105.4 354.7,119.9 342.4,110.9\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 386.6,150\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 386.6,150 386.6,150 386.6,150 386.6,150 386.6,150 386.6,150\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 385.7,149.7 387.6,149.7 386,150.8 386.6,149 387.2,150.8 385.7,149.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 384.7,149.4 388.5,149.4 385.4,151.6 386.6,148 387.8,151.6 384.7,149.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 383.7,149.1 389.5,149.1 384.8,152.4 386.6,147 388.4,152.4 383.7,149.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 382.8,148.8 390.4,148.8 384.3,153.2 386.6,146 389,153.2 382.8,148.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 381.8,148.5 391.4,148.5 383.7,154 386.6,145 389.5,154 381.8,148.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 380.9,148.1 392.3,148.1 383.1,154.9 386.6,144 390.1,154.9 380.9,148.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 379.9,147.8 393.3,147.8 382.5,155.7 386.6,143 390.7,155.7 379.9,147.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 379,147.5 394.2,147.5 381.9,156.5 386.6,142 391.3,156.5 379,147.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 400,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 400,200 400,200 400,200 400,200 400,200 400,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 399,199.7 401,199.7 399.4,200.8 400,199 400.6,200.8 399,199.7\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 398.1,199.4 401.9,199.4 398.8,201.6 400,198 401.2,201.6 398.1,199.4\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 397.1,199.1 402.9,199.1 398.2,202.4 400,197 401.8,202.4 397.1,199.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 396.2,198.8 403.8,198.8 397.6,203.2 400,196 402.4,203.2 396.2,198.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 395.2,198.5 404.8,198.5 397.1,204 400,195 402.9,204 395.2,198.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 394.3,198.1 405.7,198.1 396.5,204.9 400,194 403.5,204.9 394.3,198.1\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 393.3,197.8 406.7,197.8 395.9,205.7 400,193 404.1,205.7 393.3,197.8\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 392.4,197.5 407.6,197.5 395.3,206.5 400,192 404.7,206.5 392.4,197.5\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 300,200\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<path stroke=\"yellow\" stroke-width=\"2\" d=\"M 0,0\" />'\n",
       "\n",
       "<g transform=\"rotate(-90.0,0,0) translate(0, 0)\">\n",
       "    <circle stroke=\"#63A375\" stroke-width=\"2\" fill=\"transparent\" r=\"5.5\" cx=\"0\" cy=\"0\"/>\n",
       "    <polygon points=\"0,12 2,9 -2,9\" style=\"fill:#63A375;stroke:#63A375;stroke-width:2\"/>\n",
       "</g>\n",
       "\n",
       "</svg>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b46ccd80-056d-4ffb-9f69-a65d1b940c23",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "4f4f0828-9f5d-4165-ab17-13e2b1fb4e5e",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<svg width=\"400\" height=\"400\" style=\"fill:none; stroke-linecap:round;\">\n",
       "    <rect width=\"100%\" height=\"100%\" fill=\"#F3F3F7\" />\n",
       "\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,200\" />'\n",
       "\n",
       "<path stroke=\"blue\" stroke-width=\"2\" d=\"M 0,0 400,0 400,1 0,1 0,2 400,2 400,3 0,3 0,4 400,4 400,5 0,5 0,6 400,6 400,7 0,7 0,8 400,8 400,9 0,9 0,10 400,10 400,11 0,11 0,12 400,12 400,13 0,13 0,14 400,14 400,15 0,15 0,16 400,16 400,17 0,17 0,18 400,18 400,19 0,19 0,20 400,20 400,21 0,21 0,22 400,22 400,23 0,23 0,24 400,24 400,25 0,25 0,26 400,26 400,27 0,27 0,28 400,28 400,29 0,29 0,30 400,30 400,31 0,31 0,32 400,32 400,33 0,33 0,34 400,34 400,35 0,35 0,36 400,36 400,37 0,37 0,38 400,38 400,39 0,39 0,40 400,40 400,41 0,41 0,42 400,42 400,43 0,43 0,44 400,44 400,45 0,45 0,46 400,46 400,47 0,47 0,48 400,48 400,49 0,49 0,50 400,50 400,51 0,51 0,52 400,52 400,53 0,53 0,54 400,54 400,55 0,55 0,56 400,56 400,57 0,57 0,58 400,58 400,59 0,59 0,60 400,60 400,61 0,61 0,62 400,62 400,63 0,63 0,64 400,64 400,65 0,65 0,66 400,66 400,67 0,67 0,68 400,68 400,69 0,69 0,70 400,70 400,71 0,71 0,72 400,72 400,73 0,73 0,74 400,74 400,75 0,75 0,76 400,76 400,77 0,77 0,78 400,78 400,79 0,79 0,80 400,80 400,81 0,81 0,82 400,82 400,83 0,83 0,84 400,84 400,85 0,85 0,86 400,86 400,87 0,87 0,88 400,88 400,89 0,89 0,90 400,90 400,91 0,91 0,92 400,92 400,93 0,93 0,94 400,94 400,95 0,95 0,96 400,96 400,97 0,97 0,98 400,98 400,99 0,99 0,100 400,100 400,101 0,101 0,102 400,102 400,103 0,103 0,104 400,104 400,105 0,105 0,106 400,106 400,107 0,107 0,108 400,108 400,109 0,109 0,110 400,110 400,111 0,111 0,112 400,112 400,113 0,113 0,114 400,114 400,115 0,115 0,116 400,116 400,117 0,117 0,118 400,118 400,119 0,119 0,120 400,120 400,121 0,121 0,122 400,122 400,123 0,123 0,124 400,124 400,125 0,125 0,126 400,126 400,127 0,127 0,128 400,128 400,129 0,129 0,130 400,130 400,131 0,131 0,132 400,132 400,133 0,133 0,134 400,134 400,135 0,135 0,136 400,136 400,137 0,137 0,138 400,138 400,139 0,139 0,140 400,140 400,141 0,141 0,142 400,142 400,143 0,143 0,144 400,144 400,145 0,145 0,146 400,146 400,147 0,147 0,148 400,148 400,149 0,149 0,150 400,150 400,151 0,151 0,152 400,152 400,153 0,153 0,154 400,154 400,155 0,155 0,156 400,156 400,157 0,157 0,158 400,158 400,159 0,159 0,160 400,160 400,161 0,161 0,162 400,162 400,163 0,163 0,164 400,164 400,165 0,165 0,166 400,166 400,167 0,167 0,168 400,168 400,169 0,169 0,170 400,170 400,171 0,171 0,172 400,172 400,173 0,173 0,174 400,174 400,175 0,175 0,176 400,176 400,177 0,177 0,178 400,178 400,179 0,179 0,180 400,180 400,181 0,181 0,182 400,182 400,183 0,183 0,184 400,184 400,185 0,185 0,186 400,186 400,187 0,187 0,188 400,188 400,189 0,189 0,190 400,190 400,191 0,191 0,192 400,192 400,193 0,193 0,194 400,194 400,195 0,195 0,196 400,196 400,197 0,197 0,198 400,198 400,199 0,199 0,200\" />'\n",
       "\n",
       "<g transform=\"rotate(-90.0,0.0,200.0) translate(0.0, 200.0)\">\n",
       "    <circle stroke=\"#63A375\" stroke-width=\"2\" fill=\"transparent\" r=\"5.5\" cx=\"0\" cy=\"0\"/>\n",
       "    <polygon points=\"0,12 2,9 -2,9\" style=\"fill:#63A375;stroke:#63A375;stroke-width:2\"/>\n",
       "</g>\n",
       "\n",
       "</svg>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "    import jupyturtle as t\n",
    "    import math as m\n",
    "    t.make_turtle(animate=True, delay=0.0001, width=400, height=400) \n",
    "    t.jump_to(0,0)\n",
    "    t.set_color('blue')\n",
    "    for k in range(100):\n",
    "        t.fd(400)\n",
    "        t.rt(90)\n",
    "        t.fd(1)\n",
    "        t.rt(90)\n",
    "        t.fd(400)\n",
    "        t.lt(90)\n",
    "        t.fd(1)\n",
    "        t.lt(90)\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "88dcf9cc-cf56-48bc-b91a-3da21d0ff6a8",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<svg width=\"400\" height=\"400\" style=\"fill:none; stroke-linecap:round;\">\n",
       "    <rect width=\"100%\" height=\"100%\" fill=\"#F3F3F7\" />\n",
       "\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,200\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 269.3,140\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 259.8,136.9 276.9,136.9 263,147 268.3,130.7 273.6,147 259.8,136.9\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 260.7,137.2 275.9,137.2 263.6,146.2 268.3,131.7 273,146.2 260.7,137.2\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 261.7,137.5 275,137.5 264.2,145.4 268.3,132.7 272.4,145.4 261.7,137.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 262.6,137.8 274,137.8 264.8,144.5 268.3,133.7 271.9,144.5 262.6,137.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 263.6,138.1 273.1,138.1 265.4,143.7 268.3,134.7 271.3,143.7 263.6,138.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 264.5,138.5 272.1,138.5 266,142.9 268.3,135.7 270.7,142.9 264.5,138.5\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 265.5,138.8 271.2,138.8 266.6,142.1 268.3,136.7 270.1,142.1 265.5,138.8\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 266.4,139.1 270.2,139.1 267.2,141.3 268.3,137.7 269.5,141.3 266.4,139.1\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 267.4,139.4 269.3,139.4 267.7,140.5 268.3,138.7 268.9,140.5 267.4,139.4\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 240,169.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,180\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 160,169.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 130.7,140\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 120,100\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 130.7,60\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 160,30.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,20\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 240,30.7\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 269.3,60\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 280,100\" />'\n",
       "\n",
       "<g transform=\"rotate(-90.0,280.0,100.0) translate(280.0, 100.0)\">\n",
       "    <circle stroke=\"#63A375\" stroke-width=\"2\" fill=\"transparent\" r=\"5.5\" cx=\"0\" cy=\"0\"/>\n",
       "    <polygon points=\"0,12 2,9 -2,9\" style=\"fill:#63A375;stroke:#63A375;stroke-width:2\"/>\n",
       "</g>\n",
       "\n",
       "</svg>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "#需修改\n",
    "import jupyturtle as t\n",
    "import math as m\n",
    "t.make_turtle(animate=True, delay=0.1, width=400, height=400) \n",
    "r=10\n",
    "R=80\n",
    "s=0\n",
    "for z in range(12):\n",
    "        s+=30\n",
    "        x=200+R*m.cos(s/180*m.pi)\n",
    "        y=100+R*m.sin(s/180*m.pi)\n",
    "        t.jump_to(x,y)\n",
    "        #t.jump_to(x-r*m.cos(18/180*3.14159265),y-r*m.sin(18/180*3.14159265))    \n",
    "        long=int(r*2*m.cos(18/180*3.14159265)/2)\n",
    "        for j in range(long):\n",
    "            t.jump_to(x-r*m.cos(18/180*3.14159265),y-r*m.sin(18/180*3.14159265))\n",
    "            r-=1\n",
    "            for i in range(5):\n",
    "                t.fd(r*2*m.cos(18/180*3.14159265))\n",
    "                t.rt(144)\n",
    "            \n",
    "        \n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "1aa60d30-4f26-422b-930a-c7a77cb7d1fe",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<svg width=\"400\" height=\"400\" style=\"fill:none; stroke-linecap:round;\">\n",
       "    <rect width=\"100%\" height=\"100%\" fill=\"#F3F3F7\" />\n",
       "\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,200\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 280,100 299,106.2 280,112.4 291.8,96.2 291.8,116.2 280,100\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 269.3,140 281,156.2 262,150 281,143.8 269.3,160 269.3,140\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 240,169.3 240,189.3 228.2,173.1 247.3,179.3 228.2,185.5 240,169.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 200,180 188.2,196.2 188.2,176.2 200,192.4 181,186.2 200,180\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 160,169.3 141,175.5 152.7,159.3 152.7,179.3 141,163.1 160,169.3\" />'\n",
       "\n",
       "<path stroke=\"#663399\" stroke-width=\"2\" d=\"M 130.7,140\" />'\n",
       "\n",
       "<g transform=\"rotate(90.0,130.7,140.0) translate(130.7, 140.0)\">\n",
       "    <circle stroke=\"#63A375\" stroke-width=\"2\" fill=\"transparent\" r=\"5.5\" cx=\"0\" cy=\"0\"/>\n",
       "    <polygon points=\"0,12 2,9 -2,9\" style=\"fill:#63A375;stroke:#63A375;stroke-width:2\"/>\n",
       "</g>\n",
       "\n",
       "</svg>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "ename": "KeyboardInterrupt",
     "evalue": "",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mKeyboardInterrupt\u001b[0m                         Traceback (most recent call last)",
      "Cell \u001b[1;32mIn[12], line 12\u001b[0m\n\u001b[0;32m     10\u001b[0m y \u001b[38;5;241m=\u001b[39m \u001b[38;5;241m100\u001b[39m \u001b[38;5;241m+\u001b[39m R \u001b[38;5;241m*\u001b[39m m\u001b[38;5;241m.\u001b[39msin(z \u001b[38;5;241m*\u001b[39m \u001b[38;5;241m30\u001b[39m \u001b[38;5;241m/\u001b[39m \u001b[38;5;241m180\u001b[39m \u001b[38;5;241m*\u001b[39m m\u001b[38;5;241m.\u001b[39mpi)\n\u001b[0;32m     11\u001b[0m t\u001b[38;5;241m.\u001b[39mjump_to(x, y)\n\u001b[1;32m---> 12\u001b[0m \u001b[43mt\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mrt\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m18\u001b[39;49m\u001b[43m)\u001b[49m  \u001b[38;5;66;03m# 旋转18度，准备绘制五角星的一边\u001b[39;00m\n\u001b[0;32m     13\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m i \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mrange\u001b[39m(\u001b[38;5;241m5\u001b[39m):  \u001b[38;5;66;03m# 绘制五角星的五条边\u001b[39;00m\n\u001b[0;32m     14\u001b[0m     t\u001b[38;5;241m.\u001b[39mfd(r)\n",
      "File \u001b[1;32mD:\\work\\homework\\jupyturtle.py:491\u001b[0m, in \u001b[0;36m_make_command.<locals>.command\u001b[1;34m(*args, **kwargs)\u001b[0m\n\u001b[0;32m    489\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mcommand\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m    490\u001b[0m     turtle \u001b[38;5;241m=\u001b[39m get_turtle()\n\u001b[1;32m--> 491\u001b[0m     method(turtle, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n",
      "File \u001b[1;32mD:\\work\\homework\\jupyturtle.py:325\u001b[0m, in \u001b[0;36mTurtle.right\u001b[1;34m(self, degrees)\u001b[0m\n\u001b[0;32m    323\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mheading \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m degrees\n\u001b[0;32m    324\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39manimate:\n\u001b[1;32m--> 325\u001b[0m     \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdraw\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n",
      "File \u001b[1;32mD:\\work\\homework\\jupyturtle.py:239\u001b[0m, in \u001b[0;36mTurtle.draw\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m    237\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m h \u001b[38;5;241m:=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mdrawing\u001b[38;5;241m.\u001b[39mhandle:\n\u001b[0;32m    238\u001b[0m     \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mdelay \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39manimate:\n\u001b[1;32m--> 239\u001b[0m         \u001b[43mtime\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43msleep\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdelay\u001b[49m\u001b[43m)\u001b[49m\n\u001b[0;32m    240\u001b[0m     h\u001b[38;5;241m.\u001b[39mupdate(HTML(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mget_SVG()))\n",
      "\u001b[1;31mKeyboardInterrupt\u001b[0m: "
     ]
    }
   ],
   "source": [
    "#欧盟旗空心五角星\n",
    "import jupyturtle as t\n",
    "import math as m\n",
    "\n",
    "t.make_turtle(animate=True, delay=0.1, width=400, height=400) \n",
    "r = 20  # 五角星的边长\n",
    "R = 80  # 五角星顶点到圆心的距离\n",
    "\n",
    "for z in range(12):\n",
    "    x = 200 + R * m.cos(z * 30 / 180 * m.pi)\n",
    "    y = 100 + R * m.sin(z * 30 / 180 * m.pi)\n",
    "    t.jump_to(x, y)\n",
    "    t.rt(18)  # 旋转18度，准备绘制五角星的一边\n",
    "    for i in range(5):  # 绘制五角星的五条边\n",
    "        t.fd(r)\n",
    "        t.rt(144)  # 旋转144度，准备绘制下一条边\n",
    "    t.rt(18)  # 旋转回初始方向，准备绘制下一个五角星"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "46434808-6ec9-49db-b42b-88388d7ea42b",
   "metadata": {},
   "source": [
    "# 文件（File）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "46d752da-0bcd-4805-a709-a202ebe6d11f",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "hello\n"
     ]
    }
   ],
   "source": [
    "file = open(\"test.txt\",\"r\")\n",
    "content = file.read()\n",
    "file.close()\n",
    "print(content)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "5f654de8-15ff-425a-ae90-7aaa89c75d9d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "hello\n"
     ]
    }
   ],
   "source": [
    "file = open(\"test.txt\",\"r\")\n",
    "content = file.readlines()\n",
    "file.close()\n",
    "print(lines[0])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "7506ac31-e090-4e7f-b89d-c2f4d839ee70",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'str'>\n"
     ]
    }
   ],
   "source": [
    "file=open(\"test.txt\",\"r\")\n",
    "lines=file.readlines()\n",
    "file.close()\n",
    "print(type(lines[0]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "cb09c188-336d-468b-bbe0-fa90acf6086a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['hello']\n"
     ]
    }
   ],
   "source": [
    "with open(\"test.txt\",\"r\") as file:\n",
    "    content=file.read()\n",
    "print(content.split(','))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "98e935bb-36f3-4092-a40f-bb346e7c9ba5",
   "metadata": {},
   "outputs": [],
   "source": [
    "lines=[\"hello\"]\n",
    "with open(\"test.txt\",\"w\") as file:\n",
    "    file.writelines(lines)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "49ef9aa2-3e9c-4543-a086-6951b7f0cc5a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " 90.493 44.668 53.991 60.329  5.554 37.783 33.402 69.315 91.936  8.264\n",
      " 25.626 52.416 76.132 92.013 43.262 70.934 97.600 45.738 34.816 97.483\n",
      " 50.253 50.187 83.541 41.314 13.150 36.723 89.621 53.158 92.139 73.843\n",
      " 32.616  5.644 57.277 20.595 84.042  5.845  5.404 22.872 14.523 29.928\n",
      " 88.952 99.556 28.904 39.316 44.880 50.865 47.629 99.304 91.939 93.156\n",
      " 24.376 21.812 86.888 31.185 98.641 19.019 75.908 88.783 52.278 29.400\n",
      " 38.554 56.763 77.542 58.709 61.118 22.789 90.346  0.994  5.251 21.296\n",
      " 11.392 94.490 20.335 29.711 75.692 93.106 61.937 61.790 62.547 72.844\n",
      " 72.259 95.587 11.711 72.215 27.267 90.674 80.714 82.680 26.358 73.418\n",
      " 89.614 52.123 68.010 22.822 68.326 42.100 84.789 70.049 65.674 38.426\n"
     ]
    }
   ],
   "source": [
    "with open('data.txt', 'w') as file:\n",
    "    import random as r\n",
    "    for i in range(100):\n",
    "        print(\"%7.3f\" % r.uniform(0,100), end=\"\")\n",
    "        if ( (i+1) % 10 == 0):\n",
    "            print()\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "id": "b85474ea-dcc6-4565-abff-cbc5f0aa3cc8",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(0-10)分数段的数据有0个\n",
      "(10-20)分数段的数据有0个\n",
      "(20-30)分数段的数据有0个\n",
      "(30-40)分数段的数据有0个\n",
      "(40-50)分数段的数据有0个\n",
      "(50-60)分数段的数据有0个\n",
      "(60-70)分数段的数据有0个\n",
      "(70-80)分数段的数据有0个\n",
      "(80-90)分数段的数据有0个\n",
      "(90-100)分数段的数据有0个\n"
     ]
    }
   ],
   "source": [
    "with open('data.txt', 'r') as file:\n",
    "    content=file.read()\n",
    "number=[int(num) for line in content.split('/n') for num in line.split()]\n",
    "for i in range(10):\n",
    "    a=0\n",
    "    for j in number:\n",
    "        if j>i*10 and j<=i*10+10:\n",
    "            a+=1\n",
    "    print(f'({i*10}-{i*10+10})分数段的数据有{a}个')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b10c223d-6fe3-46d0-a8aa-f19cee987abe",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
